<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
<f:view contentType="text/html">
	<h:head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<link rel="stylesheet"
			href="${request.contextPath}/resources/css/style.css" type="text/css"
			media="screen" />
		<link rel="shortcut icon"
			href="${request.contextPath}/resources/img/favicon.ico" />
		<title><ui:insert name="title"></ui:insert></title>
	</h:head>
	<h:body>
		<h:form id="formMain">
			<p:ajaxStatus onstart="statusDialog.show();"
				onsuccess="statusDialog.hide();" resizable="true" osition="east"
				size="250" closable="true" collapsible="true" />
			<p:dialog modal="true" widgetVar="statusDialog"
				header="Processing..." draggable="false" closable="false">
				<p:graphicImage value="/resources/img/ajax_loading.gif" />
			</p:dialog>
			<div id="page">
				<div id="menu">
					<ui:insert name="header">
						<center>
							<ui:include src="/template/commonHeader.xhtml" />
						</center>
					</ui:insert>
				</div>
				<div id="line" />
				<div id="content">
					<ui:insert name="content">
						<ui:include src="/template/commonLayoutComplex.xhtml" />
					</ui:insert>
				</div>

				<div id="line" />
				<br />
				<div id="footer">
					<ui:insert name="footer">
						<ui:include src="/template/commonDock.xhtml" />
					</ui:insert>
				</div>
			</div>
		</h:form>
	</h:body>
</f:view>
</html>
